package com.yt.lxh.common.exception;

import com.yt.lxh.common.result.ResultCodeEnum;
import lombok.Getter;

/**
 * 密码验证失败的异常
 */
@Getter
public class PasswordNotMatchException extends ServiceException{
    private String message;
    public PasswordNotMatchException(ResultCodeEnum errCode) {
        super(errCode);
    }

    public PasswordNotMatchException(ResultCodeEnum errCode, String message) {
        super(errCode);
        this.message = message;
    }
}
